package com.shawn.model.entity;

import lombok.Data;

import java.io.Serializable;

/**
 * @author shawn
 * @date 2022年 12月 19日 17:40
 */
@Data
public class LocalDistribution implements Serializable {
    private String title;
    private Integer amount;

    public static LocalDistribution init(String title){
        LocalDistribution localDistribution = new LocalDistribution();
        localDistribution.setTitle(title);
        localDistribution.setAmount(0);
        return localDistribution;
    }
}
